//
//  LFTabBar.h
//  College
//
//  Created by LF on 2018/11/26.
//  Copyright © 2018 MuXi. All rights reserved.
//

#import "LFBaseView.h"
#import "LFTabBarItem.h"

NS_ASSUME_NONNULL_BEGIN

@protocol LFTabBarDelegate <NSObject>
- (void) didSelectedTabBarAtIndex:(NSInteger) index;
@end
typedef enum : NSUInteger {
    DisplayHide=0,
    DisplayShow=1
} Display;
@interface LFTabBar : LFBaseView
@property (nonatomic, assign) id <LFTabBarDelegate> delegate;
@property (nonatomic, assign) Display display; /**< 展示 */
+ (instancetype) sharedTabBar;
- (void) setMessageCount:(NSInteger)count atIndex:(NSInteger)index;
- (void) configTabbar:(NSArray *)datas;
@end

NS_ASSUME_NONNULL_END
